<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    function update() {
        alert("修改成功");
    }
</script>
<body>
<div style="width:800px;height:100%;margin-left:270px;">
    <form action="/sc/updateScore" method="post">
        成绩单编号：<input  name="scoreno" type="number" th:value="${sc.scoreno}" readonly="readonly"><br>
        学生学号：<input  type="text" th:value="${sc.sno}" name="sno"><br>
        课程编号：<input  type="text" th:value="${sc.cno}" name="cno"><br>
        成绩：<input  type="text" th:value="${sc.score}" name="score"><br>
        <button onclick="update()" type="submit">提交</button>
    </form>
</div>
</body>
</html>